package org.ycx.upms.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.ycx.upms.dao.auto.SecRoleMapper;

import java.util.List;

/**
* SecRole 自定义Mapper
* Created by yang on 2017-07-19 15:08:27.
*/
public interface ISecRoleMapper extends SecRoleMapper {

    @Select("SELECT PERMISSION_ID from sec_role_permission where ROLE_ID=#{id}")
    List<Integer> selectByRoleId(@Param("id") Integer id);

}